<template>
  <div class="">
    <van-nav-bar
      title="标题"
      left-text="返回"
      right-text="按钮"
      left-arrow
      @click-left="$router.go(-1)"
      @click-right="$router.push('/adressadd')"
    />
    <h1>请求列表地址 并且渲染</h1>
  </div>
</template>

<script>
import { ref, reactive, toRefs } from "vue";
import { useStore } from "vuex";
import { useRouter, useRoute } from "vue-router";
export default {
  setup(props, ctx) {
    const store = useStore();
    const router = useRouter();
    const route = useRoute();
    const data = reactive({});
    // const onClickRight
    return { ...toRefs(data) };
  },
};
</script>

<style lang="scss"></style>
